package com.ynet.hmds28.user.model;

import java.io.Serializable;
import java.util.Date;

public class Serviceconsume implements Serializable {
    /**
     * 服务订阅id
     */
    private String serviceconsumeid;

    /**
     * 服务发布id
     */
    private String seviceproviceid;

    /**
     * 用户id
     */
    private String userid;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 调用次数
     */
    private String callnum;

    /**
     * 产生费用
     */
    private String callcost;

    private static final long serialVersionUID = 1L;

    public String getServiceconsumeid() {
        return serviceconsumeid;
    }

    public void setServiceconsumeid(String serviceconsumeid) {
        this.serviceconsumeid = serviceconsumeid == null ? null : serviceconsumeid.trim();
    }

    public String getSeviceproviceid() {
        return seviceproviceid;
    }

    public void setSeviceproviceid(String seviceproviceid) {
        this.seviceproviceid = seviceproviceid == null ? null : seviceproviceid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCallnum() {
        return callnum;
    }

    public void setCallnum(String callnum) {
        this.callnum = callnum == null ? null : callnum.trim();
    }

    public String getCallcost() {
        return callcost;
    }

    public void setCallcost(String callcost) {
        this.callcost = callcost == null ? null : callcost.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serviceconsumeid=").append(serviceconsumeid);
        sb.append(", seviceproviceid=").append(seviceproviceid);
        sb.append(", userid=").append(userid);
        sb.append(", remark=").append(remark);
        sb.append(", createtime=").append(createtime);
        sb.append(", callnum=").append(callnum);
        sb.append(", callcost=").append(callcost);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}